package com.nulldev.util.internal.backport.httpclient_rw.impl.common;

import java.io.IOException;

/**
 * Signals that an end of file or end of stream has been reached unexpectedly
 * before any protocol specific data has been received.
 */
public final class ConnectionExpiredException extends IOException {
	private static final long serialVersionUID = 0;

	/**
	 * Constructs a {@code ConnectionExpiredException} with a detail message of
	 * "subscription is finished" and the given cause.
	 *
	 * @param cause the throwable cause
	 */
	public ConnectionExpiredException(Throwable cause) {
		super("subscription is finished", cause);
	}
}
